package com.cip.master.service;

import java.util.List;
import java.util.Locale;

import org.springframework.dao.DataAccessException;

import com.cip.master.model.Section;

public interface SectionService {

	Section saveOrUpdate(Section section);

	List<Section> getAllSection() throws Exception;

	Section getSection(int id) throws  Exception ;
	
	List<Section> getAllSectionByClassYear(int id) throws Exception;
	
	Section getSectionByName(String name) throws Exception ;
	
	String getSectionGridList(Locale locale)throws Exception;

}
